[gd_scene load_steps=6 format=1]

[ext_resource path="res://scripts/weapons/beam_base.gd" type="Script" id=1]
[ext_resource path="res://scripts/shader/dbl_brightness.tres" type="Shader" id=2]
[ext_resource path="res://images/weapons/beam03.png" type="Texture" id=3]

[sub_resource type="CanvasItemMaterial" id=1]

shader/shader = ExtResource( 2 )
shader/shading_mode = 0

[sub_resource type="Animation" id=2]

length = 0.25
loop = false
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:visibility/self_opacity")
tracks/0/interp = 1
tracks/0/imported = false
tracks/0/keys = { "times":FloatArray( 0, 0.1, 0.25 ), "transitions":FloatArray( 1, 1, 1 ), "update":0, "values":[ 0.0, 0.5, 0.0 ] }
tracks/1/type = "value"
tracks/1/path = NodePath("Light:energy")
tracks/1/interp = 1
tracks/1/imported = false
tracks/1/keys = { "times":FloatArray( 0, 0.1, 0.25 ), "transitions":FloatArray( 1, 1, 1 ), "update":0, "values":[ 0.0, 0.4, 0.0 ] }
tracks/2/type = "method"
tracks/2/path = NodePath(".")
tracks/2/interp = 1
tracks/2/imported = false
tracks/2/keys = { "times":FloatArray( 0.25 ), "transitions":FloatArray( 1 ), "values":[ { "args":[  ], "method":"queue_free" } ] }

[node name="Shot" type="Node2D"]

script/script = ExtResource( 1 )
__meta__ = { "__editor_plugin_screen__":"2D" }

[node name="Sprite" type="Sprite" parent="."]

visibility/self_opacity = 0.0
visibility/blend_mode = 1
visibility/light_mask = 0
material/material = SubResource( 1 )
transform/scale = Vector2( 0.25, 8 )
texture = ExtResource( 3 )
offset = Vector2( 0, -127 )

[node name="Light" type="Light2D" parent="."]

visibility/light_mask = 0
transform/scale = Vector2( 50, 9 )
enabled = true
texture = ExtResource( 3 )
offset = Vector2( 0, -117 )
scale = 1.0
color = Color( 1, 0.752941, 1, 1 )
energy = 0.0
mode = 0
range/height = 5.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="RayCast" type="RayCast2D" parent="."]

visibility/visible = false
transform/rot = -0.0306919
enabled = true
cast_to = Vector2( 0, -1500 )
layer_mask = 1
type_mask = 15

[node name="Timer" type="Timer" parent="."]

process_mode = 1
wait_time = 0.1
one_shot = true
autostart = false

[node name="Anim" type="AnimationPlayer" parent="."]

playback/process_mode = 1
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/life = SubResource( 2 )
playback/active = true
playback/speed = 1.0
blend_times = [  ]
autoplay = "life"

[connection signal="timeout" from="Timer" to="." method="disable"]


